package com.qf.student.service;

import com.qf.student.entity.Dept;

import java.util.List;

/**
 * 业务实现接口
 */
public interface IDeptService {

    public boolean save(Dept dept); //

    public boolean update(Dept dept); // 根据主键更新

    public boolean remove(Integer deptno);

    public Dept getById(Integer deptno); // 根据主键查询

    public List<Dept> list();

    public Dept getByName(String dname);
}
